
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置Ticket的AutoMapper
    /// </summary>
	internal static class TicketMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <Ticket,TicketListDto>();
            configuration.CreateMap <TicketListDto,Ticket>();

            configuration.CreateMap <TicketEditDto,Ticket>();
            configuration.CreateMap <Ticket,TicketEditDto>();

        }
	}
}
